package sql_film;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class RedTest extends Reducer<NullWritable,Movie_result, Movie_result, NullWritable> {
    @Override
    protected void reduce(NullWritable key, Iterable<Movie_result> values, Context context) throws IOException, InterruptedException {
        for (Movie_result v : values) {
            context.write(v, NullWritable.get());
        }
    }
}
